3.2.19 \(\int \csc ^3(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx\) [119]

Optimal. Leaf size=28 \[ -\frac {\csc ^3(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{3 b} \]

[Out]

-1/3*csc(b*x+a)^3*sin(2*b*x+2*a)^(3/2)/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {4377} \begin {gather*} -\frac {\sin ^{\frac {3}{2}}(2 a+2 b x) \csc ^3(a+b x)}{3 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Csc[a + b*x]^3*Sqrt[Sin[2*a + 2*b*x]],x]

[Out]

-1/3*(Csc[a + b*x]^3*Sin[2*a + 2*b*x]^(3/2))/b

Rule 4377

Int[((e_.)*sin[(a_.) + (b_.)*(x_)])^(m_.)*((g_.)*sin[(c_.) + (d_.)*(x_)])^(p_), x_Symbol] :> Simp[(e*Sin[a + b
*x])^m*((g*Sin[c + d*x])^(p + 1)/(b*g*m)), x] /; FreeQ[{a, b, c, d, e, g, m, p}, x] && EqQ[b*c - a*d, 0] && Eq
Q[d/b, 2] &&  !IntegerQ[p] && EqQ[m + 2*p + 2, 0]

Rubi steps

\begin {align*} \int \csc ^3(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx &=-\frac {\csc ^3(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{3 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 27, normalized size = 0.96 \begin {gather*} -\frac {\csc ^3(a+b x) \sin ^{\frac {3}{2}}(2 (a+b x))}{3 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Csc[a + b*x]^3*Sqrt[Sin[2*a + 2*b*x]],x]

[Out]

-1/3*(Csc[a + b*x]^3*Sin[2*(a + b*x)]^(3/2))/b

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 4 vs. order 3.
time = 25.58, size = 192, normalized size = 6.86

method result size
default \(\frac {\sqrt {-\frac {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}{\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )-1}}\, \left (\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )-1\right ) \left (4 \sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )+1}\, \sqrt {-2 \tan \left (\frac {a}{2}+\frac {x b}{2}\right )+2}\, \sqrt {-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}\, \EllipticF \left (\sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )+1}, \frac {\sqrt {2}}{2}\right ) \tan \left (\frac {a}{2}+\frac {x b}{2}\right )+\tan ^{4}\left (\frac {a}{2}+\frac {x b}{2}\right )-1\right )}{3 \tan \left (\frac {a}{2}+\frac {x b}{2}\right ) \sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right ) \left (\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )-1\right )}\, \sqrt {\tan ^{3}\left (\frac {a}{2}+\frac {x b}{2}\right )-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}\, b}\) \(192\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(b*x+a)^3*sin(2*b*x+2*a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/3*(-tan(1/2*a+1/2*x*b)/(tan(1/2*a+1/2*x*b)^2-1))^(1/2)*(tan(1/2*a+1/2*x*b)^2-1)/tan(1/2*a+1/2*x*b)*(4*(tan(1
/2*a+1/2*x*b)+1)^(1/2)*(-2*tan(1/2*a+1/2*x*b)+2)^(1/2)*(-tan(1/2*a+1/2*x*b))^(1/2)*EllipticF((tan(1/2*a+1/2*x*
b)+1)^(1/2),1/2*2^(1/2))*tan(1/2*a+1/2*x*b)+tan(1/2*a+1/2*x*b)^4-1)/(tan(1/2*a+1/2*x*b)*(tan(1/2*a+1/2*x*b)^2-
1))^(1/2)/(tan(1/2*a+1/2*x*b)^3-tan(1/2*a+1/2*x*b))^(1/2)/b

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^3*sin(2*b*x+2*a)^(1/2),x, algorithm="maxima")

[Out]

integrate(csc(b*x + a)^3*sqrt(sin(2*b*x + 2*a)), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 53 vs. \(2 (24) = 48\).
time = 2.25, size = 53, normalized size = 1.89 \begin {gather*} \frac {2 \, {\left (\sqrt {2} \sqrt {\cos \left (b x + a\right ) \sin \left (b x + a\right )} \cos \left (b x + a\right ) + \cos \left (b x + a\right )^{2} - 1\right )}}{3 \, {\left (b \cos \left (b x + a\right )^{2} - b\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^3*sin(2*b*x+2*a)^(1/2),x, algorithm="fricas")

[Out]

2/3*(sqrt(2)*sqrt(cos(b*x + a)*sin(b*x + a))*cos(b*x + a) + cos(b*x + a)^2 - 1)/(b*cos(b*x + a)^2 - b)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)**3*sin(2*b*x+2*a)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^3*sin(2*b*x+2*a)^(1/2),x, algorithm="giac")

[Out]

integrate(csc(b*x + a)^3*sqrt(sin(2*b*x + 2*a)), x)

________________________________________________________________________________________

Mupad [B]
time = 1.50, size = 95, normalized size = 3.39 \begin {gather*} \frac {4\,\sqrt {\sin \left (2\,a+2\,b\,x\right )}\,\left (4\,{\sin \left (\frac {a}{2}+\frac {b\,x}{2}\right )}^2-6\,{\sin \left (\frac {3\,a}{2}+\frac {3\,b\,x}{2}\right )}^2+2\,{\sin \left (\frac {5\,a}{2}+\frac {5\,b\,x}{2}\right )}^2\right )}{3\,b\,\left (30\,{\sin \left (a+b\,x\right )}^2-12\,{\sin \left (2\,a+2\,b\,x\right )}^2+2\,{\sin \left (3\,a+3\,b\,x\right )}^2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(2*a + 2*b*x)^(1/2)/sin(a + b*x)^3,x)

[Out]

(4*sin(2*a + 2*b*x)^(1/2)*(4*sin(a/2 + (b*x)/2)^2 - 6*sin((3*a)/2 + (3*b*x)/2)^2 + 2*sin((5*a)/2 + (5*b*x)/2)^
2))/(3*b*(2*sin(3*a + 3*b*x)^2 - 12*sin(2*a + 2*b*x)^2 + 30*sin(a + b*x)^2))

________________________________________________________________________________________